#!/usr/bin/env bash

# <bitbar.title>Google Apps</bitbar.title>
# <bitbar.version>v1.0.1</bitbar.version>
# <bitbar.author>Jens Schumacher</bitbar.author>
# <bitbar.author.github>jeschu</bitbar.author.github>
# <bitbar.desc>This plugin's dropdown menu will open Google Documents, Spreadsheets or Presentations in App-Mode of Chromium or Google Chrome.</bitbar.desc>
# <bitbar.image>https://lh3.googleusercontent.com/dZhJy5gcVrm77Y0upTcDnnDd7ZuIvVPCCZaBrcP8qFFdXdk3gZIj5WyfXF1Unl2sAW58UxDP7feASybLUyEt-RMBuk2ZAdBkoo2c</bitbar.image>
# <bitbar.dependencies></bitbar.dependencies>

function openBrowser() {
  if [[ -d /Applications/Chromium.app ]]; then
    BROWSER="/Applications/Chromium.app"
  elif [[ -d /Applications/Google\ Chrome.app ]]; then
    BROWSER="/Applications/Google Chrome.app"
  fi
  open -n -a "${BROWSER}" --args --app="${1}"
}

function generateBitBar() {
  declare -a titles=(
    "Docs"         # Docs
    "Spreadsheets" # Spreadsheets
    "Slides"       # Slides
    "Notes"        # Notes
    "Contacts"     # Contacts
    "Calendars"    # Calendars
    "Pictures"     # Pictures
    "Mail"         # Mail
    "Translate"    # Translate
    "Drive"        # Drive
    "Maps"         # Maps
    "YouTube"      # YouTube
  )
  declare -a colors=(
    "#4889f1" # Docs
    "#2aa366" # Spreadsheets
    "#f4b830" # Slides
    "#edbc45" # Notes
    "#16319a" # Contacts
    "#5489ec" # Calendars
    "#9bc260" # Pictures
    "#f3f4f6" # Mail
    "#677b88" # Translate
    "#4c9c66" # Drive
    "#fade65" # Maps
    "#eb3323" # YouTube
  )
  declare -a urls=(
    "https://docs.google.com/document"     # Docs
    "https://docs.google.com/spreadsheets" # Spreadsheets
    "https://docs.google.com/presentation" # Slides
    "https://keep.google.com"              # Notes
    "https://contacts.google.com/"         # Contacts
    "https://calendar.google.com"          # Calendars
    "https://photos.google.com/"           # Pictures
    "https://mail.google.com/"             # Mail
    "https://translate.google.de/"         # Translate
    "https://drive.google.com/"            # Drive
    "https://maps.google.de/"               # Maps
    "https://www.youtube.com"              # YouTube
  )
  declare -a images=(
    # Docs
    "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAB3RJTUUH4gkaCSgxpr5QvAAAAx1JREFUWMOlV89rE0EU/t7MZk1okmIN4sGD4EXwVMSjJ+lVBRUVsaAi7R8h+B94klYsrfZQqK2XYNGD/QNKD4IgevOkVmzaWvJrk92d5yGbdrOZzc4mAyGzb2bn/fi+9+YtITKeLNTPN12sE2iSGeBAzsEk/Hw0V8DFs1S+cJru3rmSdZBiiKig6mDVcTHpuIymy+j+N73O3AnJuvNGm1HM0XUlxMbih73iSAb4Cpco8JACGaF3HpUBDMUACFezxbF3S5sH9tAGMIP6wh1+CO/VHSjElG1nV15uVHLDGRD66ZRwiA9xVggpbxXGC+X597u51AZoPeR4j+MGCZrKj+eXlzYPxUgRgIb9A2EJyaSUtzO2vfai/DtnHgHutyIuFUP+Ymffh5TUd5SQ8ub4xMTq0sc/UmeAlRRK1ngWjYwQwNefPoRfxbkzNgT1vkuga/u1EwsAHiUawANCygOMy1gCX3Yktr9X4Dn1owhyJz0hLPnQzABOR8gjWIiQyVjInCqh3chCtVtgOn4njsDGEAxS3rNOBDtfhNuow/fcxNRJhCAqSCIkB4symwNaAuy5A1PYMipvEbFWeZgrwQaZzcJvEVj5seemgyCOIxyuktwTCZGxoXwPUGo4CDhgcqMNEOkJGVbODOTsYG+wTtIC4BsaoPGwVABez/iAa1CDM8D0vEClFrFRyCFJCKDaAuY/CXh+fyYQ9YbdEkDNiXIiRRbohtMGyp8phpCdShOGxZKdXoGTuW2WBaU88GbWAxQlU1Ywpucs7Nb6W7ehIThsAk/XJJQ6Dre+ZhCEAP41Ncp5BAhcj/HtV/cMii1WQdmH60Wu9FQR0DCmVACWZ5XZpUGMB3MW/lYNCGAKwX4dePxK9DUhuupIBOzV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BFxS5g9Z3ZANSM7mujNpimTQAe/b0I8Wb4pqkSYsvADgOQ1WS+b4hw9clz2cdWtVZGkN7tm05F44sAWHq6f0bMCcHO5DzbXZKCA4KNHwTB6A6QRTbycP2o177pKgtgblAQieDIs9RUVl//bfX41AC+LoNZAvPa3sLRB1I0aTEmNu7q6YrfBD4Eaiq3AqNSNSSgx4kH3sPVepae+Gvq1lTkgpYSG7aSujXldN0R9TGVjepH1Aa380xTEoBqggFrR09CzPqUqQMOikHkCFZOAw2odGN0EGgJYkeBjAM1qOsRejFCw8IoJtyTYKrHqQ0uYdpe2HO/T++3pvI5DK8D4Qyb0tRvDLHQfF+Mk+u6kZgAETyW8VVhHQsUNgtOH4XqKlhed5SZxYJkdMNJr+G/nHvWIbg/QPukbjqLP2Zr/kFeaIZNucmQ9pYfr0DHeHj3+M/MHHIZsdMTbqRvu/sr+AQuRci5+Dbr5+7joUuwZTAk2ssbGQ98fATWVsErddtBZ4DU3xQAz17EyZvDu5sOsHIl/DCsT8BSP7lqRifyfsMMg3d2LlYeRBmPaHaax6kBslDpRPQoyC6WntwGwCdj4eXjmb+OE0pV8PKJJDmrBoAUIzoZvCkIo/F0GI4GUDeC2CawJ1HnJzwO49hmXvk18Xb47G5YdNj3iD8BrUHrdrBTK68AAAAASUVORK5CYII="
  echo "---"
  for (( i=0; i<${#titles[@]}; i++ )); do
    title="${titles[${i}]}"
    color="${colors[${i}]}"
    url="${urls[${i}]}"
    image="${images[${i}]}"
    echo "${title} | color=${color} bash='${0}' param1='${url}' terminal=false image=${image}"
  done
}

if [[ "${1}" != "" ]]; then
  openBrowser "${1}"
else
  generateBitBar
fi
